package example.logger;

import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;

import com.coderside.core.build.BuildCore;

public class LoggerInfo {

	private String dateTime;

	private String level;

	private String content;

	public String getDateTime() {
		return dateTime;
	}

	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return dateTime + ":" + content;
	}

	public static void main(String[] args) {
		BuildCore core = new BuildCore(LoggerInfo.class);
		try {
			core.buildStart();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
	}

}
